package UIComponents// ActionScript file
{
	import flash.display.DisplayObject;
	import flash.display.Sprite;
	import flash.text.TextField;

	public class FrameMissionReward extends Sprite
	{
		public function FrameMissionReward():void
		{
			
		}
		
		public function setRewardPic(value:DisplayObject):void
		{
			(this.getChildByName("iconContainer") as IconContainer).addPic(value);
		}
		
		public function setRewardValue(value:Number):void
		{
			(this.getChildByName("txt_value") as TextField).text=String(value);
		}
	}
}